package com.motong.gongdan.vo.resp;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author:fff
 * @time:2022/3/14
 */
@Data
public class BadProductDisDetail {
    @ExcelIgnore
    private Integer id;
    @ExcelProperty(value = "工单编号",index = 0)
    private String workOrderCode;
    @ExcelProperty(value = "产品编号",index = 1)
    private String productCode;
    @ExcelProperty(value = "产品名称",index = 2)
    private String productName;
    @ExcelProperty(value = "产品规格",index = 3)
    private String productSpecification;
    @ExcelProperty(value = "工序编号",index = 4)
    private String processCode;
    @ExcelProperty(value = "工序名称",index = 5)
    private String processName;
    @ExcelProperty(value = "生产人员",index = 6)
    private String produceName;
    @ExcelProperty(value = "报工开始时间",index = 7)
    private Date reportStartTime;
    @ExcelProperty(value = "报工结束时间",index = 8)
    private Date reportEndTime;
    @ExcelProperty(value = "不良品项",index = 9)
    private String badProductName;
    @ExcelProperty(value = "计划数",index = 10)
    private BigDecimal planedNumber;
    @ExcelProperty(value = "报工数",index = 11)
    private BigDecimal reportNumber;
    @ExcelProperty(value = "良品数",index = 12)
    private BigDecimal goodProductNumber;
    @ExcelProperty(value = "不良品数",index = 13)
    private BigDecimal badProductNumber;
    @ApiModelProperty("不良品率")
    private String badRateString;
}
